- __callDFunction
ubyte* __callDFunction(size_t addr, ubyte* args)
Javascript function to call a D callback.
- _getFuncAddress
size_t _getFuncAddress(ubyte* fn)
Gets a unique function index for usage in the table
- freeWasmBinary
void freeWasmBinary(ubyte[] binary)
Undocumented in source. Be warned that the author may not have intended to support it.
- getWasmBinary
ubyte[] getWasmBinary(ubyte* input)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadMemoryInStruct
Struct loadMemoryInStruct(ubyte* arg)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendJSDelegate
JSDelegate sendJSDelegate()
Undocumented in source. Be warned that the author may not have intended to support it.
- sendJSFunction
ubyte* sendJSFunction()
Whenever wanting to pass a callback to Javascript, call this function instead.
This function is not expected to meet usercode. But it will stay here nevertheless.
- toFunc
ubyte* function(ubyte* args) toFunc()
Generates a delegate which adds the this context from the arguments.
It also packs the arguments sent from Javascript and transform them to the
data the D delegate expects. There is also a validation in the arguments received.
- wasmParametersFromUbyte
Arguments!fn wasmParametersFromUbyte(ubyte* arg)
Undocumented in source. Be warned that the author may not have intended to support it.